﻿package Interface
{
	import com.junkbyte.console.Cc;
	
	import flash.display.MovieClip;	
	import flash.events.MouseEvent;
	
	public class ArrowsScroller extends MovieClip 
	{
		protected var FUp:ArrowButton;
		protected var FDown:ArrowButton;
		
		public function ArrowsScroller() 
		{
			FUp = getChildByName('Up') as ArrowButton;
			FDown = getChildByName('Down') as ArrowButton;
			if(!FUp || !FDown)
				Cc.log('Arrow scroller incomplete')
			else
			{
				FUp.addEventListener(MouseEvent.MOUSE_DOWN, OnUp);
				FDown.addEventListener(MouseEvent.MOUSE_DOWN, OnDown);
			}			
		}
		
		protected function OnUp(e:MouseEvent):void
		{
		}
		
		protected function OnDown(e:MouseEvent):void
		{
		}
	}	
}

